package com.shareit.ocr.properties;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "simulator")
public class SimulatorProperties {
	
	//尝试次数
	private int tryCount;
	
	//国税局网站URL
	private String startURL;
	
	//模拟方式
	private String simulatorType;
	
	//允许的发票类型
	private String acceptInvoiceType;
	

	@Autowired
	private DamaProperties damaProperties;

	public String getSimulatorType() {
		return simulatorType;
	}

	public void setSimulatorType(String simulatorType) {
		this.simulatorType = simulatorType;
	}
	
	public int getTryCount() {
		return tryCount;
	}

	public void setTryCount(int tryCount) {
		this.tryCount = tryCount;
	}

	public String getStartURL() {
		return startURL;
	}

	public void setStartURL(String startURL) {
		this.startURL = startURL;
	}
	
	public DamaProperties getDamaProperties() {
		return damaProperties;
	}

	public String getAcceptInvoiceType() {
		return acceptInvoiceType;
	}

	public void setAcceptInvoiceType(String acceptInvoiceType) {
		this.acceptInvoiceType = acceptInvoiceType;
	}
}
